package examples.codequality.domain;

import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.UUID;

/**
 * @author baigod
 */
@Data
@NoArgsConstructor
public class User {

    private UUID id;
    private String username;

    @Builder
    public User(UUID id, String username) {
        this.id = id;
        this.username = username;
    }
}